<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">

        <div class="layui-form-item">
            <label class="layui-form-label">进店头像</label>
            <div class="layui-input-block">
                <img data-tips-image="" src="{$vo.photo}" width="60px" height="60px">
                <p class="help-block"></p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">FaceId</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{$vo.face_id|default="-"}</span>
                <p class="help-block"></p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">进/出</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{if $is_come.is_come==1}进{else}出{/if}</span>
                <p class="help-block"></p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">获取时间</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{if $vo.enter_time>0}{:date('Y-m-d H:i:s',$vo.enter_time)}{else}-{/if}</span>
                <p class="help-block"></p>
            </div>
        </div>

        <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">离开时间</label>-->
            <!--<div class="layui-input-block">-->
                <!--<span class="layui-input layui-disabled">{if $vo.leave_time>0}{:date('Y-m-d H:i:s',$vo.leave_time)}{else}-{/if}</span>-->
                <!--<p class="help-block"></p>-->
            <!--</div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">停留时长</label>-->
            <!--<div class="layui-input-block">-->
                <!--<span class="layui-input layui-disabled">{if $vo.stay_time>0}{$vo.stay_time}{else}-{/if}</span>-->
                <!--<p class="help-block"></p>-->
            <!--</div>-->
        <!--</div>-->

        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{if $vo.sex==1}男{elseif $vo.sex==2}女{else}-{/if}</span>
                <p class="help-block"></p>
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">年龄</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{$vo.age|default='-'}</span>
                <p class="help-block"></p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">摄像机</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{$vo.equipment_id|default='-'}</span>
                <p class="help-block"></p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">店铺</label>
            <div class="layui-input-block">
                <span class="layui-input layui-disabled">{$shopName|default='-'}</span>
                <p class="help-block"></p>
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea">{$vo.remark}</textarea>
                <p class="help-block"></p>
            </div>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>